/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.score.entity;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 党组织积分内容Entity
 * @author ygl
 * @version 2017-09-03
 */
public class PartyScoreDetail extends DataEntity<PartyScoreDetail> {
	
	private static final long serialVersionUID = 1L;
	private String organizeId;		// 党组织ID
	private String organizeLifeId;		// 组织生活ID
	private String partyAssessmentInfoId;		// 党组织积分内容ID
	private String scoreMode;		// 分值方式
	private String defaultScore;		// 分值（默认分数）
	private String score;		// 分数
	private String upperScore;		// 上限分数
	private String applyCount;		// 已申请次数
	private String status;		// 状态（审核通过/不通过）
	private String type;		// 类型（加分/减分）
	private String column1;		// column_1
	private String column2;		// column_2
	private String year;		// 年份
	private String checkScore; //审核分数
	
	private String partyAssessmentInfoTitle;//积分内容标题
	private String isUpperStatus;//;年度总分是否超过上限
	private String totalScore; //年度总分
	
	private String isBatch;//是否批量
	private String ids;
	
	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	public String getIsBatch() {
		return isBatch;
	}

	public void setIsBatch(String isBatch) {
		this.isBatch = isBatch;
	}

	public String getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(String totalScore) {
		this.totalScore = totalScore;
	}

	public String getCheckScore() {
		return checkScore;
	}

	public void setCheckScore(String checkScore) {
		this.checkScore = checkScore;
	}

	public String getPartyAssessmentInfoTitle() {
		return partyAssessmentInfoTitle;
	}

	public void setPartyAssessmentInfoTitle(String partyAssessmentInfoTitle) {
		this.partyAssessmentInfoTitle = partyAssessmentInfoTitle;
	}

	public String getIsUpperStatus() {
		return isUpperStatus;
	}

	public void setIsUpperStatus(String isUpperStatus) {
		this.isUpperStatus = isUpperStatus;
	}

	public PartyScoreDetail() {
		super();
	}

	public PartyScoreDetail(String id){
		super(id);
	}

	@Length(min=1, max=64, message="党组织ID长度必须介于 1 和 32 之间")
	public String getOrganizeId() {
		return organizeId;
	}

	public void setOrganizeId(String organizeId) {
		this.organizeId = organizeId;
	}
	
	@Length(min=1, max=64, message="组织生活ID长度必须介于 1 和 32 之间")
	public String getOrganizeLifeId() {
		return organizeLifeId;
	}

	public void setOrganizeLifeId(String organizeLifeId) {
		this.organizeLifeId = organizeLifeId;
	}
	
	@Length(min=1, max=32, message="党组织积分内容ID长度必须介于 1 和 32 之间")
	public String getPartyAssessmentInfoId() {
		return partyAssessmentInfoId;
	}

	public void setPartyAssessmentInfoId(String partyAssessmentInfoId) {
		this.partyAssessmentInfoId = partyAssessmentInfoId;
	}
	
	@Length(min=0, max=32, message="分值方式长度必须介于 0 和 32 之间")
	public String getScoreMode() {
		return scoreMode;
	}

	public void setScoreMode(String scoreMode) {
		this.scoreMode = scoreMode;
	}
	
	@Length(min=0, max=32, message="分值（默认分数）长度必须介于 0 和 32 之间")
	public String getDefaultScore() {
		return defaultScore;
	}

	public void setDefaultScore(String defaultScore) {
		this.defaultScore = defaultScore;
	}
	
	@Length(min=0, max=32, message="分数长度必须介于 0 和 32 之间")
	public String getScore() {
		return score;
	}

	public void setScore(String score) {
		this.score = score;
	}
	
	@Length(min=0, max=32, message="上限分数长度必须介于 0 和 32 之间")
	public String getUpperScore() {
		return upperScore;
	}

	public void setUpperScore(String upperScore) {
		this.upperScore = upperScore;
	}
	
	@Length(min=0, max=32, message="已申请次数长度必须介于 0 和 32 之间")
	public String getApplyCount() {
		return applyCount;
	}

	public void setApplyCount(String applyCount) {
		this.applyCount = applyCount;
	}
	
	@Length(min=0, max=1, message="状态（审核通过/不通过）长度必须介于 0 和 1 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Length(min=0, max=1, message="类型（加分/减分）长度必须介于 0 和 1 之间")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@Length(min=0, max=32, message="column_1长度必须介于 0 和 32 之间")
	public String getColumn1() {
		return column1;
	}

	public void setColumn1(String column1) {
		this.column1 = column1;
	}
	
	@Length(min=0, max=32, message="column_2长度必须介于 0 和 32 之间")
	public String getColumn2() {
		return column2;
	}

	public void setColumn2(String column2) {
		this.column2 = column2;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}
	
}